import request from '@/utils/request'

export function getTopicPage(params) {
  return request({
    url: '/manage/topic/list',
    method: 'post',
    data: params,
  })
}
export function setTopicAdd(params) {
  return request({
    url: '/manage/topic/create',
    method: 'post',
    data: params,
  })
}
export function setTopicEdit(params) {
  return request({
    url: '/manage/topic/update',
    method: 'post',
    data: params,
  })
}
export function topicDel(params) {
  return request({
    url: '/manage/topic/delete',
    method: 'post',
    data: params,
  })
}
